/**
 * Copyright &copy; 2012-2016 civet All rights reserved.
 */
package cn.mcsys.myadmin.modules.order.service;

import java.util.List;

import cn.mcsys.myadmin.common.persistence.Page;
import cn.mcsys.myadmin.modules.order.dao.GoodsOrderDao;
import cn.mcsys.myadmin.modules.order.entity.GoodsOrder;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.mcsys.myadmin.common.persistence.Page;
import cn.mcsys.myadmin.common.service.CrudService;
import cn.mcsys.myadmin.modules.order.entity.GoodsOrder;
import cn.mcsys.myadmin.modules.order.dao.GoodsOrderDao;

/**
 * 商品订单Service
 * @author Jockey
 * @version 2016-11-20
 */
@Service
@Transactional(readOnly = true)
public class GoodsOrderService extends CrudService<GoodsOrderDao, GoodsOrder> {

	public GoodsOrder get(Integer id) {
		return super.get(id);
	}
	
	public List<GoodsOrder> findList(GoodsOrder goodsOrder) {
		return super.findList(goodsOrder);
	}
	
	public Page<GoodsOrder> findPage(Page<GoodsOrder> page, GoodsOrder goodsOrder) {
		return super.findPage(page, goodsOrder);
	}
	
	@Transactional(readOnly = false)
	public void save(GoodsOrder goodsOrder) {
		super.save(goodsOrder);
	}
	
	@Transactional(readOnly = false)
	public void delete(GoodsOrder goodsOrder) {
		super.delete(goodsOrder);
	}
	
}